package cn.iocoder.yudao.module.biz.controller.admin.safetyCheck.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 安全检查 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class BizSafetyCheckBaseVO {

    @ApiModelProperty(value = "检查单位ID", required = true)
    @NotNull(message = "检查单位ID不能为空")
    private Long checkDeptId;

    @ApiModelProperty(value = "被查单位ID", required = true)
    @NotNull(message = "被查单位ID不能为空")
    private Long checkbyDeptId;

    @ApiModelProperty(value = "检查项目", required = true)
    @NotNull(message = "检查项目不能为空")
    private String checkProject;

    @ApiModelProperty(value = "检查时间", required = true)
    @NotNull(message = "检查时间不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkTime;

    @ApiModelProperty(value = "检查人ID", required = true)
    @NotNull(message = "检查人ID不能为空")
    private Long checkUserId;

    @ApiModelProperty(value = "检查治理资料ID")
    private String checkFileId;

    @ApiModelProperty(value = "复查时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date recheckTime;

    @ApiModelProperty(value = "整改完成情况")
    private String rectificationCompletion;

    @ApiModelProperty(value = "整改图片ID")
    private String rectificationImageId;

    @ApiModelProperty(value = "整改资料ID")
    private String rectificationFileId;

    private String deptId;

}
